package com.speily.example.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.speily.example.framework.aspectj.lang.annotation.Excel;

import com.speily.example.framework.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基础数据对象 biz_base_data
 * 
 * @author SPL
 * @date 2020-05-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BizBaseData extends BaseEntity<BizBaseData>{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 品类 */
    @Excel(name = "品类")
    private String category;

    /** 税率 */
    @Excel(name = "税率")
    private Double taxRate;

    /** 入库标准 */
    @Excel(name = "入库标准")
    private String storageStandard;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;


}
